package com.ct.gd.passport.common.constants;

/**
 * 协议。
 */
public class Protocol {

	/**
	 * 字段。请参考 相关协议文档。
	 */
	public final class Fields {
		public static final String	DATA					= "data";
		
		public static final String	IMEI					= "imei";
		public static final String	USER_PHONE					= "userPhone";

		public static final String	PAGE_INDEX				= "pageIndex";
		public static final String	PAGE_SIZE				= "pageSize";
		public static final String	DISCOUNT_DISTRICT		= "district";
		public static final String	DISCOUNT_TYPE			= "type";
		public static final String	DISCOUNT_ID				= "discountId";

		public static final String	ADVICE_LIST_TYPE		= "type";
		public static final String	ADVICE_CONTENT			= "content";
		public static final String	ADVICE_CONTACT			= "contact";
		public static final String	ADVICE_CONTACT_PHONE			= "contact_phone";
		public static final String	ADVICE_TYPE			= "type";
		public static final String	ADVICE_TITLE			= "title";
		public static final String	ADIVCE_ID				= "id";

		public static final String	POLICY_CATALOGID		= "id";
		public static final String	POLICY_TYPE				= "type";
		public static final String	POLICY_SEARCH_KEYWORD	= "keyword";
        
		/** 预约 */
		public static final String	PLACE					= "place";

        public static final String	BEGIN_DATE				= "beginDate";
        public static final String	END_DATE				= "endDate";
        public static final String	PERSON					= "person";
        public static final String	PHONE					= "phone";
        public static final String	BIZ_TYPE				= "type";
        public static final String	DISTRICT				= "district";
		public static final String	Port					= "port";

        public static final String	TICKET_BOOKING_TYPE	= "type";
        public static final String TICKET_BOOKING_SERIAL = "serial";

        public static final String TICKET_BOOKING_NAME = "name";
        public static final String TICKET_BOOKING_PHONE = "phone";
        public static final String TICKET_BOOKING_ADULT_COUNT = "countAdult";
        public static final String TICKET_BOOKING_CHILD_COUNT = "countChild";
    }

	/**
	 * 命令
	 */
	public class Commands {
		public static final String	COMMON_SEND_PHONE				= "rest/phone/submit.php";
		
		public static final String	DISCOUNT_QUERY				= "rest/discount/query.php";
		public static final String	DISCOUNT_DETAIL				= "rest/discount/detail.php";
		
		public static final String	EXHIBITION_QUERY				= "rest/exhibition/list.php";
		public static final String	EXHIBITION_DETAIL				= "rest/exhibition/detail.php";

		public static final String	ADVICE_LIST					= "rest/advice/list.php";
		public static final String	ADVICE_DETAIL				= "rest/advice/detail.php";
		public static final String	ADVICE_SUBMIT				= "rest/advice/submit.php";

		public static final String	POLICY_LIST					= "rest/policy/list.php";
		public static final String	POLICY_DETAIL				= "rest/policy/detail.php";
		public static final String	POLICY_SEARCH				= "rest/policy/search.php";

		public static final String	PASSPORT_SUBMIT				= "rest/passport/submit.php";
		public static final String	PASSPORT_QUERY				= "rest/passport/query.php";
		public static final String  PASSPORT_CAPTURE			= "rest/passport/capture.php";
		public static final String  PASSPORT_HISTORY			= "rest/passport/history.php";

		public static final String	REST_PASSPORT_SUBMIT		= "rest/passport/submit.php";
		public static final String	REST_RESERVATIION_SUBMIT	= "rest/reservation/submit.php";
		public static final String	REST_IMMIGRATION_QUERY		= "rest/immigration/query.php";
		
		public static final String WS_METHOD_GET_DEP_LIST = "getCrDepList";
		public static final String WS_METHOD_GET_DATE_LIST = "getCrDateList";
		public static final String WS_METHOD_GET_BIZ_TYPE_LIST = "getCrTypeList";
		public static final String WS_METHOD_BOOK_CRJ = "bookCrj";
        public static final String TICKET_INFO = "rest/ticket/info.php";
        public static final String TICKET_BOOKING_INFO_SUBMIT = "rest/ticket/submit.php";
    }

	public class SubmitArgs {

		/** 申请类型 1=申请往来港澳个人旅游再次签注(自由行) */
		public static final String	ARG_PASS_TYPE		= "passType";
		public static final String	ARG_DISTRICT		= "district";
		public static final String	ARG_SERIALNUMBER	= "serialNumber";
		public static final String	ARG_VALIDATE		= "validate";
		public static final String	ARG_NAME			= "name";
		public static final String	ARG_PHONE			= "phone";
		public static final String	ARG_GOAREA			= "goArea";
		public static final String	ARG_TYPE			= "type";
		public static final String	ARG_EXPRESS			= "express";
		public static final String	ARG_EXPRESS_NAME	= "expressName";
		public static final String	ARG_EXPRESS_ADRESS	= "expressAdress";
		public static final String	ARG_EXPRESS_CODE	= "expressCode";
	}

}
